How to parse many div's using Simple HTML DOM? [closed]

Posted by user1892833 on Super User See other posts from Super User or by user1892833
Published on 2012-12-10T21:01:11Z Indexed on 2012/12/10 23:07 UTC
Read the original article Hit count: 76

Filed under:

I have this HTML code

<div id="first" class="first">
  One
    <div id="second" class="second">
      Second
      <div id="third" class="third">
        Third
        <div id="fourth" class="fourth">
            Fourth
            <div id="fifth" clas="fifth">
               Fifht
               <div id="sixth" class="sixth">
                   Sixth
               </div>
            </div>
        </div>
    </div>
</div>

This code is from an external website. I want to display 'Hi' using Simple HTML DOM from a URL.

I'm sick of trying and thinking codes to make this possible.

Thank you very much.

© Super User or respective owner

Related posts about html